<table cellpadding="5" cellspacing="0" border="0" width="100%" class="tbl_tour_book">
<?
$hotel = new Hotel();
$hotel_id += 0;
$hotel->select($hotel_id);
if ($hotel)
{
	for($i=1;$i<=$count;$i++)
	{
	?>
	<tr>
		<td colspan='3' style='border-top: 1px solid #ccc;'>
        	<div style='float:left;padding-right:10px;padding-top:4px;'><b>Chọn loại phòng <?=$i?> : </b></div>
			<select name='sbo_room_<?=$i?>' id='sbo_room_<?=$i?>' class='sbo_book' onchange='reload_room_data(<?=$i?>,this.value)' >
			<?
				$roomFirst = null;
				$rooms = $hotel->getAllRooms();
				foreach ($rooms as $room)
				{
					if (!$roomFirst)
						$roomFirst = $room;
			?>
				<option value='<?=$room->getid()?>'><?=$room->getname()?></option>
			<?
				}
			?>
			</select>
		</td>
	</tr>
    <?
	$currency = new Currency();
	$currency->select($roomFirst->getcurrency());
	?>
	<tr class='room_data_<?=$i?>'>
		<td>
			<b>Loại giường : <span style='color:#c00;'><?=$roomFirst->getbed_type()?></span></b>
		</td>
		<td>
			<b>Số lượng người tối đa : <span style='color:#c00;'><?=$roomFirst->getnumber_customer()?></span></b>
		</td>
		<td>
			<b>Giá : <span style='color:#c00;'><?=lg_number::money($currency->getVND($roomFirst->getRealPrice()))?> VNĐ</span></b>  
		</td>
	</tr>
	<?
	}
}
?>
</table>